// jjcapDoc.h : interface of the CJjcapDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_JJCAPDOC_H__241E8647_9026_447E_9EDF_A33852540859__INCLUDED_)
#define AFX_JJCAPDOC_H__241E8647_9026_447E_9EDF_A33852540859__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CJjcapView;

class CJjcapDoc : public CDocument
{
protected: // create from serialization only
	CJjcapDoc();
	DECLARE_DYNCREATE(CJjcapDoc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CJjcapDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	static void CaptureCallBack(u_char* argument, const struct pcap_pkthdr* packet_header, const u_char* packet_content);
	static DWORD WINAPI CaptureProc(LPVOID lpParam);
	CJjcapView* GetView();
	virtual ~CJjcapDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CJjcapDoc)
	afx_msg void OnMiMainCaptureOption();
	afx_msg void OnMiMainCaptureFilter();
	afx_msg void OnMiMainAnalyzeSummary();
	afx_msg void OnMiMainCaptureStart();
	afx_msg void OnMiMainCaptureStop();
	afx_msg void OnMiMainCaptureRestart();
	afx_msg void OnMiMainAnalyzeEndpoints();
	afx_msg void OnMiMainAnalyzeIograph();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_JJCAPDOC_H__241E8647_9026_447E_9EDF_A33852540859__INCLUDED_)
